package sz.com.postoffice.jxyzwgcase.dao.node;

import org.apache.ibatis.annotations.Param;
import sz.com.postoffice.jxyzwgcase.pojo.OperationTargetReturn;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface TOperationtargetDao {

    int insertList(@Param("list") List<OperationTargetReturn> list);

    List<OperationTargetReturn> findByEntity(OperationTargetReturn p);

    List<OperationTargetReturn> findByDeptCodes(@Param("date") String date, @Param("type") String type, @Param("list") Collection<String> deptCodes);

    List<OperationTargetReturn> findCityTotal(@Param("date") String endDate, @Param("type") String type, @Param("list") Collection<String> cityCodes);
}